package com.bah.tract.client.workstore.tol;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

import com.bah.tract.client.workstore.Effort;

public class TOLWork extends Effort {
	private String number;

	public final String getNumber() {
		return number;
	}

	public final void setNumber(final String number) {
		this.number = number;
	}

	private String taxCode;
	private boolean teleWork;

	public final String getTaxCode() {
		return taxCode;
	}

	public final void setTaxCode(final String taxCode) {
		this.taxCode = taxCode;
	}

	public final boolean isTeleWork() {
		return teleWork;
	}

	public final void setTeleWork(final boolean teleWork) {
		this.teleWork = teleWork;
	}

	@Override
	public final int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this,
				new String[] { "minutes" });
	}

	@Override
	public final boolean equals(final Object obj) {
		return EqualsBuilder.reflectionEquals(this, obj,
				new String[] { "minutes" });
	}

}
